Do not skip the root path if it's a dotdir
authorPhilipp Gesang <phg@phi-gamma.net>
Fri, 2 Oct 2015 20:27:41 +0000 (22:27 +0200)
committerPhilipp Gesang <phg@phi-gamma.net>
Fri, 2 Oct 2015 20:35:19 +0000 (22:35 +0200)
commit4cd3c56765485eddfc3be8484519053a79e4ee44
treee461d51665891c5caad38b587f3523bad53ff3ce
parent7f21e73fd951de9bf7fc6b62736d0fc4fce81928
Do not skip the root path if it's a dotdir

When traversing the directory tree, cargo will omit paths that start
with a period character to avoid interfering with other software.
Unfortunately this also prevents a crate from being located in a
directory prefixed with a period. Address this by extending the test
against the traversal root that already guards Git submodules.

Fixes issue #1999 which was introduced with commit 11144645f..
src/cargo/ops/cargo_read_manifest.rs